package com.xiaoyu.tool.repository.user;

import com.xiaoyu.tool.entity.User.UserIntegral;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserIntegralRepository extends JpaRepository<UserIntegral,Long> {

    UserIntegral findByUserId(Long userId);


}

